package com.lx.patterns.prototype.demo2;

/**
 * @ClassName Citation
 * @Description: //todo
 * @Author: 落雪
 * @CreateDate: 2025/1/15 07:28
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/15 07:28
 * @UpdateRemark:
 * @Version: 1.0
 */
public class Citation implements Cloneable{

    private String name;

    public void setName(String name) {
        this.name = name;
    }

    public void show(){
        System.out.println(name+"获取三好学生奖状");
    }

    @Override
    protected Citation clone() throws CloneNotSupportedException {
        return (Citation)super.clone();
    }
}
